package com.vken.blog.dao;

import java.util.List;

import com.vken.blog.model.Entry;
import com.vken.blog.util.Pagination;

public interface EntryDao extends GenericDao<Entry, Integer> {
	public Pagination getPaginationByBlogId(Integer id, Integer status, int pageSize, int pageNumber);

	public Pagination getPaginationByCategoryId(Integer id, Integer status, int pageSize,
			int pageNumber);

	public void updateCommentHit(Integer id);

	public List<Entry> getEntrysByCategoryId(Integer categoryId);
}
